package com.spring.money;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Action {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("bean4.xml");
		Service service=(Service) context.getBean("service");
		service.accountMoney();

	}

}
